package demo.jvisualvm.classloader;

import java.net.MalformedURLException;

/**
 * <p> </p>
 *
 * @author haijun
 * @version x.x.x
 * @email "mailto:zhonghaijun@zhxx.com"
 * @date 2024.10.08 14:25
 * @since x.x.x
 */
public class ClassLoaderTest {

    public static void main(String[] args) throws ClassNotFoundException, MalformedURLException, InstantiationException, IllegalAccessException {
        // String path = "/Users/haijun/Documents/";
        // CustomizerPathClassLoader loader = new CustomizerPathClassLoader(Thread.currentThread().getContextClassLoader(), "classLoader", path);
        // Class<?> loaded = loader.loadClass("com.zhj.classloader.Test");
        // Object o = loaded.newInstance();

        System.out.println(System.getProperty("sun.boot.class.path"));
        System.out.println(System.getProperty("java.ext.dirs"));
        System.out.println(System.getProperty("java.class.path"));


    }

}
